-- GENERATED SPELL FOR [Deathtalon Spirit] --


function spell0_21198(pUnit, Event) --@Ghost Strike,n/a--
pUnit:FullCastSpellOnTarget(36093,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21198', 623, 1)
end

function Sorts_21198(pUnit, Event)
local choix_sorts_21198 = math.random(0, 0)
if choix_sorts_21198 == 0 then
pUnit:RegisterEvent('spell0_21198', 1, 1)
end
end

function mob21198_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21198', math.random(1500, 3000), 1)
end

function mob21198_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21198_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21198_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21198, 1, 'mob21198_Action')
RegisterUnitEvent(21198, 2, 'mob21198_Leave')
RegisterUnitEvent(21198, 3, 'mob21198_Kill')
RegisterUnitEvent(21198, 4, 'mob21198_Die')
